<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" href="newcss.css" type="text/css">
    </head>
    <body>
        <div class="main9">
            <div class="top">
                <img src="logo.jpg" width="250px" alt="logo" align="left">
                
            </div>
            <div class="nav">
                <ul>
                        <li><a href="index.jsp">Trang Chủ</a></li>
                        <c:if test="${user==null}">
                        <li><a href="dangky_form.jsp">Đăng Ký</a></li>
                        <li><a href="login_form.jsp">Đăng Nhập</a></li>
                        </c:if>
                        <c:if test="${user!=null}">
                        <li><a href="CreateAlbum.jsp">Tạo Album</a></li>
                        <li><a href="ShowAlbumServlet">Xem Album</a></li>
                        <li><a href="LogoutServlet">Đăng Xuất</a></li>
                        </c:if>
                </ul>
            </div>
            <div class="content">
                <center> <center><a target="_blank" href="index.jsp"><img src="image/8uzf.png" width="236"></a><a target="_blank" href="index.jsp"><img src="image/21yy.png" width="236"></a><a target="_blank" href="index.jsp"><img src="image/ua.png" width="236"></a></center> </center> <br /><br /> 
            </div>
            <form method="POST" action="UploadImageIndexServlet" enctype="multipart/form-data">
            <div class="mid">
                <p class="tatmt">Tải ảnh từ máy tính</p><br />
                <input type="file" class="file" name="imgname"><br /><br />
                <p class="tatmt">Dung lượng tối đa : 10mb
                <br />
                Dạng file cho phép: gif,jpg,jpeg,png,bmp<br />
                <input type="submit" value="Upload" class="btnupload">
                </p>
            </div>
            </form>
            <div class="footer">
                Powered by Up anh mien phi V 2.3
            </div>
        </div>
    </body>
</html>
